package main

import "fmt"

type People struct{}
type Teacher struct {
	People
}

func (p *People) ShowA() {
	fmt.Print("A")
	p.ShowB()
}
func (p *People) ShowB() {
	fmt.Print("B")
}
func (t *Teacher) ShowB() {
	fmt.Print("B2")
}

func main() {
	t := Teacher{}
	t.ShowA()
	return
	a := "123456"
	b := a[1:5]
	[]byte(b)[0] = '0'
	fmt.Print(b)
}

func process(b *[]int, c []int) {
	s := *b
	s[0] = 1
	c[1] = 2
}
